{% extends "site.html" %}
{% block appstylesheet %}
{% load media %}{% media_prefix %}css/files.css
{% endblock %}
{% block globalconteiner %}
{% load media %}
<div id="title">
 <h1>Файлы</h1>
</div>
<div id="upload_link">
  {% if category_id %}
    {% if perms.files.add_file %}
    <a href="{% url homesite.files.views.file_upload category_id %}">Загрузить</a>
    {% endif %}
  {% endif %}
</div>
{% if messages %}
  <div id="user_message">
    <ul>
    {% for message in messages %}
    <li>{{ message }}</li>
    {% endfor %}
    </ul>
  </div>
{% endif %}
<div id="stream"> 
  <DIV id="category_path">
    <A href="{% url homesite.files.views.index %}">Начало</A>
	{% for cp in category_path %}
     / <A href="{% url homesite.files.views.category_list cp.id %}">{{ cp.title }}</A>{#{% if not forloop.last %} / {% endif %}#}
	{% endfor %} 
  </DIV>
  {% block main %}
  {% endblock %}		
</div>
{% endblock %}
{% block component_version %}Files. 1.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8.01.2011{% endblock %}